package com.example.springbootblog.service;

import com.example.springbootblog.common.pojo.request.RegisterInfoParam;
import com.example.springbootblog.common.pojo.request.UserLoginParam;
import com.example.springbootblog.common.pojo.response.UserInfoResponse;
import com.example.springbootblog.common.pojo.response.UserLoginResponse;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    UserLoginResponse login(UserLoginParam param);

    UserInfoResponse getUserInfoById(Integer userId);

    UserInfoResponse getAuthorInfoById(Integer id);

    boolean registerUser(RegisterInfoParam userData);
}
